//
//  BN_KinderGartenHelper.h
//  BabyNow
//
//  Created by 闫建刚 on 14-5-20.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BN_KinderGartenHelper : NSObject

/**
 *  美食列表查询回调
 */
@property (nonatomic,strong) DataHandleComplete queryFoodListCompleteHandler;

/**
 *  活动列表查询回调
 */
@property (nonatomic,strong) DataHandleComplete queryActionListCompleteHandler;


/**
 *  查询园长信箱建议列表回调
 */
@property (nonatomic,strong) DataHandleComplete querySuggestListCompleteHandler;



/**
 *  刷新美食列表
 */
- (void)refreshFoodList;

/**
 *  查询下一页美食列表
 */
- (void)queryNextPageFoodList;

/**
 *  取消查询美食列表
 */
- (void)cancelQueryFoodList;

/**
 *  根据编号查询美食详情
 *
 *  @param foodId          编号
 *  @param completeHandler 回调处理
 */
- (void)queryFoodDetailById:(NSString*)foodId
            completeHandler:(DataHandleComplete)completeHandler;

/**
 *  取消查询美食详情
 */
- (void)cancelQueryFoodDetail;

/**
 *  发布美食
 *
 *  @param notiSubj             标题
 *  @param notiCont             内容
 *  @param fileInfoArr          上传文件信息数组
 *  @param completeHandler      回调处理
 *  @param uploadProcessHandler 上传进度处理回调
 */
- (void)sendFoodNotiSubj:(NSString*)notiSubj
                notiCont:(NSString*)notiCont
             fileInfoArr:(NSArray*)fileInfoArr
         completeHandler:(DataHandleComplete)completeHandler
 uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;

/**
 *  根据编号删除美食
 *
 *  @param foodId          美食编号
 *  @param completeHandler 回调处理
 */
- (void)removeFoodById:(NSString*)foodId
       completeHandler:(DataHandleComplete)completeHandler;


/**
 *  刷新活动列表
 */
- (void)refreshActionList;

/**
 *  查询下一页活动列表
 */
- (void)queryNextPageActionList;

/**
 *  取消查询活动列表
 */
- (void)cancelQueryActionList;

/**
 *  根据编号查询活动详情
 *
 *  @param actionId        活动编号
 *  @param completeHandler 回调处理
 */
- (void)queryActionDetailById:(NSString*)actionId
              completeHandler:(DataHandleComplete)completeHandler;

/**
 *  取消查询活动详情
 */
- (void)cancelQueryActionDetail;

/**
 *  发布活动详情
 *
 *  @param notiSubj        活动标题
 *  @param notiCont        活动内容
 *  @param fileInfoArr     上传文件信息数组
 *  @param completeHandler 回调处理
 *  @param uploadProcessHandler 上传进度处理回调
 */
- (void)sendActionNotiSubj:(NSString*)notiSubj
                  notiCont:(NSString*)notiCont
             fileInfoArr:(NSArray*)fileInfoArr
           completeHandler:(DataHandleComplete)completeHandler
   uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;

/**
 *  根据活动编号删除活动
 *
 *  @param actionId        活动编号
 *  @param completeHandler 回调处理
 */
- (void)removeActionById:(NSString*)actionId
         completeHandler:(DataHandleComplete)completeHandler;

/**
 *  查询园所简介
 *
 *  @param completeHandler 回调处理
 */
- (void)queryKgDetail:(DataHandleComplete)completeHandler;


/**
 *  发布园所信息
 *
 *  @param brieCont             园所内容
 *  @param fileInfoArr          文件数组
 *  @param completeHandler      回调处理
 *  @param uploadProcessHandler 上传回调处理
 */
- (void)sendKgInfoWithBrieCont:(NSString*)brieCont
                   fileInfoArr:(NSArray*)fileInfoArr
               completeHandler:(DataHandleComplete)completeHandler
uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;

/**
 *  更新园所信息
 *
 *  @param brieId               园所简介Id
 *  @param brieCont             园所内容
 *  @param fileInfoArr          文件数组
 *  @param completeHandler      回调处理
 *  @param uploadProcessHandler 上传回调处理
 */
- (void)updateKgInfoWithBrieId:(NSString*)brieId
                      BrieCont:(NSString*)brieCont
                   fileInfoArr:(NSArray*)fileInfoArr
               completeHandler:(DataHandleComplete)completeHandler
       uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;


/**
 *  刷新园长信箱列表
 */
- (void)refreshSuggestList;

/**
 *  查询下一页园长信箱列表
 */
- (void)queryNextPageSuggestList;

/**
 *  取消查询园长信箱列表
 */
- (void)cancelQuerySuggestList;

/**
 *  取消查询园长信箱详情
 */
- (void)cancelQuerySuggestInfo;

/**
 *  根据编号查询信箱详情
 *
 *  @param suggId          信箱编号
 *  @param completeHandler 回调处理
 */
- (void)querySuggestInfoById:(NSString*)suggId
             completeHandler:(DataHandleComplete)completeHandler;

/**
 *  园长信箱发布
 *
 *  @param suggSubj             建议标题
 *  @param suggCont             建议内容
 *  @param fileInfoArr          文件信息数组
 *  @param completeHandler      回调处理
 *  @param uploadProcessHandler 上传回调处理
 */
- (void)sendSuggestInfoWithSuggSubj:(NSString*)suggSubj
                           SuggCont:(NSString*)suggCont
                        fileInfoArr:(NSArray*)fileInfoArr
                    completeHandler:(DataHandleComplete)completeHandler
            uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;

/**
 *  根据编号删除指定信件
 *
 *  @param suggestId       信件编号
 *  @param completeHandler 回调处理
 */
- (void)removeSuggestById:(NSString*)suggestId
          completeHandler:(DataHandleComplete)completeHandler;

@end
